package com.education.service.cms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 内容管理微服务
 * Created by Lance on 2020/07/02 14:35
 */

@EnableSwagger2
@EnableFeignClients
@EnableDiscoveryClient
@ComponentScan({"com.education"})
@SpringBootApplication
//@MapperScan("com.education")
public class ServiceCmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceCmsApplication.class, args);
    }

}
